<template>
  <div id="app">
    <!-- <router-view /> -->
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive" />
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive" />
  </div>
</template>

<script>
export default {
  name: 'App',
}
</script>
//  通用部分样式调整
<style>
.van-share-sheet__options{
  justify-content: space-around;
  box-sizing: border-box;
  width: 100%;
  padding: 16px 8px 16px 8px;
}
.van-share-sheet__option{
  width: 33%;
}
</style>
<style lang="less">
@import './assets/css/reset.css';
@import './assets/css/base.less';
#app {
  font-family: 'Microsoft Yahei', 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /*text-align: center;
  color: #2c3e50;
  margin-top: 60px;*/
}
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.24rem;
  span {
    margin-left: 2%;
    color: #666;
  }
}
</style>
